<?php
include('global.php');

class Period {
	protected $id;
	protected $term;
	protected $reg_start;
	protected $reg_end;
	protected $period_start;
	protected $period_end;

	/* inputs: $team = object of class Activity
	 *         $period = object of class Period
	 */
	public function __construct($id, $term, $reg_start, $reg_end,$period_start, $period_end) {
		$this->id = $id;
		$this->term = $term;
		$this->reg_start = $reg_start;
		$this->reg_end = $reg_end;
		$this->period_start = $period_start;
		$this->period_end = $period_end;
	}

	public function getId() { return $this->id; }
	public function getTerm() { return $this->term; }
	public function getRegStart() { return $this->reg_start; }
	public function getRegEnd() { return $this->reg_end; }
	public function getPeriodStart() { return $this->period_start; }
	public function getPeriodEnd() { return $this->period_end; }
}
?>
